home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 11178 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.2 KB

  1. Path: inforamp.net!ts32-06
  2. From: rmorin@inforamp.net (Randy Charles Morin)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Printing to Printer
  5. Date: Wed, 13 Mar 96 01:07:38 GMT
  6. Organization: MiddleWorld SoftWare
  7. Message-ID: <4i5759$2s5@sam.inforamp.net>
  8. References: <4i3r8c$g66@newsbf02.news.aol.com>
  9. NNTP-Posting-Host: ts32-06.tor.inforamp.net
  10. X-Newsreader: News Xpress Version 1.0 Beta #4
  11.  
  12. In article <4i3r8c$g66@newsbf02.news.aol.com>,
  13.    jacqimarie@aol.com (Jacqimarie) wrote:
  14. >I need some help printing to the printer using Borland C/C++ 4.52.  I'm
  15. >not sure which library routines make this possible, or what the procedure
  16. >is for directing output to the printer.
  17.  
  18. Depends.  I'll assume you are printing in Windows.  Because everybody at some 
  19. point becomes confused at how to print in Windows.  The problem is that 
  20. Windows makes printing a chore.  Instead of just sending a stream of 
  21. characters to the printer, Windows insists that you paint entire pages at a 
  22. time.
  23.  
  24. If you are using OWL, use the TPrinter and TPrintout classes.  A good book 
  25. on OWL printing is OWL Programming by Spencer and published by SAMS.
  26. If you are not using OWL, run for the hills.  You need "Programming 
  27. Windows" by Charles Petzold.
  28.  
  29. Agrivar
  30.